package com.dianjing.dianqun.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Transactional;

import com.dianjing.dianqun.common.base.CrudService;
import com.dianjing.dianqun.dao.FriendsRelationMapper;
import com.dianjing.dianqun.model.FriendsRelation;

/**
 * @date : 2017年11月1日
 * 
 * @author: baoyongtao
 * 
 * @see :
 * 
 */
@Service
@Transactional(readOnly=true,isolation=Isolation.DEFAULT)
public class FriendsRelationService extends CrudService<FriendsRelationMapper, FriendsRelation> {

	@Autowired
	private FriendsRelationMapper friendsRelationMapper;

	public FriendsRelation selectMyFlowUser(Integer userId, Integer followId) {
		return friendsRelationMapper.selectMyFlowUser(userId, followId);
	}

}
